@charset "utf-8";

*::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 8px;
    -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
    background: #f3f3f3;
}

*::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: transparent;
}

/* 你自己的样式 */
.btnguid {
    position: absolute;
    right: 15px;
    height: 30px;
    width:100px;
}

* {
    box-sizing: border-box;
}

.btnguid:hover {
    background-color: #5a98de;
}

.form-horizontal {
    position: relative;
    max-width: 700px;
    margin: auto;

    .form-label {
        width: 100%;
    }

    .col-xs-8 {
        width: 100%;
    }

    input[type=text]:required {
        border-bottom: 1px solid red;
    }

}

.minbtn {
    line-height: 28px;
    outline: none;
    background-color: #5eb95e !important;
    border-radius: 2px;
    color: white !important;
    cursor: pointer;
    padding: 4px;
}

.minbtn:hover {
    background-color: #3c5e3c;
}


.rowbtn {
    text-align: center;
}

textarea {
    width: 100%;
    border: 1px solid #ddd;
    box-sizing: border-box;
    line-height: 22px;
    padding: 10px;
    min-height: 262px;
    transition: all 0.2s linear 0s;
}

textarea:hover {
    border: 1px solid #3bb4f2;
}

.inputparentid {
    width: 100px;
    line-height: 30px;
    padding-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
}

.btn-primary {
    position: relative;
    margin: auto;
    width: 100%;
}

.btnsearch {
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    background-color: #5eb95e;
    color: white;
    border: 0;
}

.btnsearch:hover {
    background-color: #c81623;
}


.menutype {
    display: inline-block;
    vertical-align: middle;

    li {
        float: left;
        line-height: 30px;
        margin-left: 20px;
        border: 1px solid #5eb95e;
        border-radius: 4px;
        cursor: pointer;
        width: 70px;
        text-align: center;
    }
}

.inputword {
    line-height: 30px;
    margin-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
    /* cursor: pointer; */
    width: 170px;
    padding-left: 10px;
    text-align: left;

}

.customtext {
    line-height: 30px;
    margin-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    text-align: center;
}

.btnstyle {
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    background-color: #5eb95e;
    color: white;
    border: 0;
}

.btnstyle:hover {
    background-color: #c81623;
}

.btnselect {
    position: absolute;
    right: 15px;
    top: 0;
    height: 32px;
    width: 100px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #5a98de;
}

.table {
    input[type=button] {
        padding: 2px;
        padding-left: 4px;
        padding-right: 4px;
        border: 1px solid #afafaf;
        border-radius: 4px;
        background: white;
        cursor: pointer;
        color:#444;
    }

    input[type=button]:hover {
        border: 1px solid #5eb95e;
    }

    .disenable {
        background-color: #f1f1f1;
    }
    a{
        margin-right: 10px;
        cursor: pointer;
    }
}

input[type=password] {
    outline: none;
    width: 100%;
    line-height: 38px;
    padding: 0 0 0 10px;
    border:1px solid #afafaf;
    border-radius: 4px;
    &:hover{
        border: 1px solid #3bb4f2;
    }
}

input[type=number] {
    line-height: 28px;
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
}

input[type=button] {
    outline: none;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    background-color: #5eb95e;
    color: #fff;
}

.nodata {
    position: relative;
    width: 100%;
    text-align: center;

    span {
        color: #999;
        line-height: 50px;
        font-size: 12px;
    }
}

.flexline{
    display:flex;
    flex-direction: row;
}
.fleft{
    text-align: left !important;
}

.flexspace{
    flex:1;
}

.btnchoose {
    position: absolute;
    height: 28px;
    line-height: 28px;
    border-radius: 4px;
    cursor: pointer;
    width: 60px;
    background-color: #3c5e3c;
    color: white;
    border: 0;
    margin-right: 10px;
    right: 1px;
    top: 1px;
}

.btnchoose:hover {
    background-color: greenyellow;
}

.formControls {
    select {
        height: 30px;
        line-height: 30px;
        width: 100%;
        min-width: 200px;
        border-radius: 4px;
        border:1px solid #5eb95e;
    }

    input[type=checkbox] {
        width: 20px;
        height: 20px;
    }
}

.formline {
    display: flex;
    flex-direction: row;

    label {
        flex: 1;
    }

    input {
        flex: 1;
    }
}

.inputsearch {
    display: inline-block;
    width: 150px !important;
    line-height: 30px;
    margin-right: 20px;
}

.dialogbox {
    box-sizing: border-box;
    padding: 30px;

    table {
        width: 100%;
        font-size: 14px;
        text-align: center;
        border-spacing: 2px;
        border-color: red;
        background-color: #afafaf;
        border-collapse: separate;
    }

    th {
        text-align: center;
        font-weight: bold;
        font-size: 16px;
    }

    th,
    td {
        background-color: white;
    }
}

.searcharea {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    
    select {
        height: 30px;
        line-height: 30px;
        min-width: 100px;
        text-align: center;
    }

    * {
        margin-right: 6px;
    }
}

.selected{
    font-weight: bold !important;
}

.page-container {
    position: relative;

    .selectlist {
        position: relative;
        user-select: none;
        margin-bottom: 30px;

        ul {
            list-style-type: none;

            li {
                display: inline-block;
                padding-left: 18px;
                position: relative;
                cursor: pointer;
                margin-right: 6px;
                line-height: 30px;
                border: 1px solid #838383;
                border-radius: 4px;
                padding-right: 8px;
            }

            .selected::before {
                content: '✔';
                position: absolute;
                left: 4px;
                color: #5a98de;
            }
        }
    }

    .viewmenutype {
        position: relative;
    }
}

.pagedialog {
    position: relative;
    padding: 20px;

    .pagebuild {
        width: 100%;
        height: 100%;
        max-width: 750px;
        margin: auto;

        .selected{
            border:1px solid #c81623;
            &::after{
                content: '√';
                font-size: 24px;
                position: absolute;
                top: -20px;
                left: 0px;
                color: #c81623;
            }
        }

        .storelist {
            position: relative;
            margin-bottom: 20px;

            .item {
                line-height: 50px;
                font-size: 14px;
                border: 1px dashed #999;
                padding: 0 10px 0 10px;
                color: #444;
                cursor: pointer;
            }
        }

        .modellist {
            position: relative;
            margin-bottom: 20px;

            .item {
                line-height: 60px;
                font-size: 14px;
                border: 1px dashed #999;
                padding: 0 10px 0 10px;
                color: #444;
                cursor: pointer;
            }
        }

        .lineaction {
            position: relative;
            text-align: center;
            margin-top:30px;
            margin-bottom: 50px;

            input[type=button]{
                height: 30px;
                width:120px;
            }
        }

    }
}